package com.itheima.domain;

import java.io.Serializable;
import java.util.List;

/**
 * ClassName:Users
 * Package:com.itheima.domain
 * Description:
 * Date:2020/3/11 16:01
 * User: snow
 */
public class UserInfo implements Serializable {
	private String id;
	private String userCode;
	private String userName;
	private String userPassword;
	private int userStatus;
	private String email;
	private String phoneNum;
	private List<Role> roles;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public int getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	@Override
	public String toString() {
		return "UserInfo{" +
				"id='" + id + '\'' +
				", userCode='" + userCode + '\'' +
				", userName='" + userName + '\'' +
				", userPassword='" + userPassword + '\'' +
				", userStatus=" + userStatus +
				", email='" + email + '\'' +
				", phoneNum='" + phoneNum + '\'' +
				", roles=" + roles +
				'}';
	}
}
